]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
tests: require given version of Gtk
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 15 Feb 2017 00:46:52 +0000 (00:46 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 15 Feb 2017 12:04:53 +0000 (12:04 +0000)
tests/interactive/gapplication.js
tests/interactive/test-title.js

index 91b544d9e84059b6ca09b0a10142e2dc98de6bda..60a3630b9209dd9177a631280608e353f3491647 100755 (executable)
@@ -1,6 +1,9 @@
 #!/usr/bin/env gjs
 // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
 
+imports.gi.versions.Gdk = '3.0';
+imports.gi.versions.Gtk = '3.0';
+
 const Gdk = imports.gi.Gdk;
 const Gio = imports.gi.Gio;
 const GLib = imports.gi.GLib;
index 54bbc91e92b1c98d657d7e01c5d5c366f82fafb6..9dea45f8e73ae869166d8b059f21bd96f30ae89c 100755 (executable)
@@ -1,5 +1,7 @@
 #!/usr/bin/env gjs
 
+imports.gi.versions.Gtk = '3.0';
+
 const Gtk = imports.gi.Gtk;
 const Mainloop = imports.mainloop;